<div class="panel panel-default">
    <div class="panel-heading">
        <h3 class="panel-title">{:__('用户信息')}</h3>
    </div>
    <div class="panel-body">
        <form class="form-horizontal">
            <div class="form-group">
                <label class="col-xs-12 col-sm-1 control-label">{:__('用户名:')}</label>
                <div class="col-xs-12 col-sm-2">
                    <p class="form-control-static">{$row.userData.username ?? '已删除'}</p>
                </div>
                <label class="col-xs-12 col-sm-1 control-label">{:__('昵称:')}</label>
                <div class="col-xs-12 col-sm-2">
                    <p class="form-control-static">{$row.userData.nickname ?? '已删除'}</p>
                </div>
                <label class="col-xs-12 col-sm-1 control-label">{:__('手机号:')}</label>
                <div class="col-xs-12 col-sm-2">
                    <p class="form-control-static">{$row.userData.mobile ?? '已删除'}</p>
                </div>
            </div>
        </form>
    </div>
    <div class="panel-heading">
        <h3 class="panel-title">{:__('反馈内容')}</h3>
    </div>
    <div class="panel-body">
        <form class="form-horizontal">
            <div class="form-group">
                <label class="col-xs-12 col-sm-1 control-label">{:__('ID:')}</label>
                <div class="col-xs-12 col-sm-2">
                    <p class="form-control-static">{$row.id|htmlentities}</p>
                </div>
                <label class="col-xs-12 col-sm-1 control-label">{:__('类型:')}</label>
                <div class="col-xs-12 col-sm-2">
                    <p class="form-control-static">{$row.typeText|htmlentities}</p>
                </div>
            </div>
            <div class="form-group">
                <label class="col-xs-12 col-sm-1 control-label">{:__('内容:')}</label>
                <div class="col-xs-12 col-sm-8">
                    <p class="form-control-static">{$row.content|htmlentities}</p>
                </div>
            </div>
            <div class="form-group">
                <label class="col-xs-12 col-sm-1 control-label">{:__('照片:')}</label>
                <div class="col-xs-12 col-sm-8" style="display: flex; flex-wrap: wrap;">
                    {volist name="row.photolist" id="vo"}
                    <div style="margin-right: 10px;"><img src="{$vo.url|htmlentities}" alt="" style="max-height: 80px;"></div>
                    {/volist}
                </div>
            </div>
            <div class="form-group">
                <label class="col-xs-12 col-sm-1 control-label">{:__('状态:')}</label>
                <div class="col-xs-12 col-sm-2">
                    <p class="form-control-static">{$row.statusText|htmlentities}</p>
                </div>
                <label class="col-xs-12 col-sm-1 control-label">{:__('反馈时间:')}</label>
                <div class="col-xs-12 col-sm-2">
                    <p class="form-control-static">{$row.created_at|htmlentities}</p>
                </div>
            </div>
        </form>
    </div>
    <div class="panel-heading">
        <h3 class="panel-title">{:__('回复内容')}</h3>
    </div>
    <div class="panel-body">
        <form id="reply-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
            <input type="hidden" name="row[scenario]" value="reply" />
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-1">{:__('回复')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <textarea id="c-reply_content" class="form-control" name="row[reply_content]" title="" style="min-height: 180px">{$row.reply_content|htmlentities}</textarea>
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-1">{:__('图集')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <div class="input-group">
                        <input id="c-reply_photos" class="form-control" type="text" name="row[reply_photos]" value="{$row.reply_photos|htmlentities}" title="">
                        <div class="input-group-addon no-border no-padding">
                            <span><button type="button" id="faupload-reply_photos" class="btn btn-danger faupload" data-input-id="c-reply_photos" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="true" data-preview-id="p-reply_photos"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                            <span><button type="button" id="fachoose-reply_photos" class="btn btn-primary fachoose" data-input-id="c-reply_photos" data-mimetype="image/*" data-multiple="true"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                        </div>
                        <span class="msg-box n-right" for="c-reply_photos"></span>
                    </div>
                    <ul class="row list-inline faupload-preview" id="p-reply_photos"></ul>
                </div>
            </div>
            <div class="form-group layer-footer">
                <label class="control-label col-xs-12 col-sm-1"></label>
                <div class="col-xs-12 col-sm-8">
                    <button class="btn btn-success btn-embossed disabled" type="submit">{:__('OK')}</button>
                    <button class="btn btn-default btn-embossed" type="reset">{:__('Reset')}</button>
                </div>
            </div>
        </form>
    </div>
</div>
